home *** CD-ROM | disk | FTP | other *** search
/ gdead.berkeley.edu / gdead.berkeley.edu.tar / gdead.berkeley.edu / pub / gdead / mac / stack-o-dead-1.8 / stack-o-dead-1.8.2.sit.hqx / Dead Stats / stack_-1.xml < prev   
Extensible Markup Language  |  1991-02-28  |  5KB  |  48 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
  3. <stack>
  4.     <name>in</name>
  5.     <id>-1</id>
  6.     <cardCount>28</cardCount>
  7.     <cardID>4652</cardID>
  8.     <listID>10554</listID>
  9.     <cantModify><false /></cantModify>
  10.     <cantDelete><false /></cantDelete>
  11.     <cantAbort><false /></cantAbort>
  12.     <cardSize>
  13.         <width>512</width>
  14.         <height>342</height>
  15.     </cardSize>
  16.     <script>on openStack----  This script will ensure that the config setup happens--  even if SOD is started by directly entering this stack--global soundOn, noGoif soundOn is empty thenlock screenpush this card--  Just going to this card sets it up via it's openCard handlerput true into noGogo card "Dead Config" of stack "Dead Utility"if soundOn is empty thensetDeadDefaultsend ifpop cardend ifhide messageend openStackon setDeadDefaultsglobal soundOnglobal soundStackglobal deadDirglobal defFileCreator--put false into soundOnput "Dead Utility" into soundStackput empty into deadDirput "MACA" into defFileCreatorend setDeadDefaultson hideCurrentput field "Current List" into Currentif Current is not empty thenhide field (Current & " List" )hide field (Current & " Title" )set the hilite of bg button (Current & " List") to falseend ifend hideCurrenton makeCurrent theNamehideCurrentif theName is not empty thenput theName into field "Current List"show field (theName & " List" )show field (theName & " Title" )set the hilite of the target to trueend ifend makeCurrenton showBusyglobal bearNumadd 1 to bearNumif bearNum = 9 then put 1 into bearNumset cursor to "Bear" & bearNumend showBusy--  NOTE:  If you want to put the sounds somewhere else, then change--         the name of the stack here for all buttons in this stackon playDead songglobal soundStackpush this cardlock screenif soundStack is empty thenfindSoundStackend ifgo stack soundStackif the result is empty thenplayDeadSong songend ifpop cardend playDeadon playRandomDeadglobal soundStackpush this cardlock screenif soundStack is empty thenfindSoundStackend ifgo stack soundStackif the result is empty thenplayRandomDeadSongend ifpop cardend playRandomDead--  This handler manages help text for buttons and fields--  by taking the text from comments at the end of the scripts--on doHelpset the cursor to watchlock screenput "Help for " & the name of the target & "..." & return & return┬¼into field "help text"put the script of the target into theScript--repeat with i = 1 to the number of lines of theScript-- showBusyput line i of theScript into oneLineif oneLine is empty then next repeatif char 1 of oneLine is not "-" then exit repeatdelete char 1 to 2 of oneLineput oneLine & return after field "help text"end repeatshow field "help text"unlock screen with visual effect dissolve fastend doHelp</script>
  17.     <background id="2285" file="background_2285.xml" name="" />
  18.     <background id="2721" file="background_2721.xml" name="" />
  19.     <card id="4652" file="card_4652.xml" marked="false" name="" owner="2721" />
  20.     <card id="3828" file="card_3828.xml" marked="false" name="" owner="2721" />
  21.     <card id="11294" file="card_11294.xml" marked="false" name="" owner="2721" />
  22.     <card id="11623" file="card_11623.xml" marked="false" name="" owner="2721" />
  23.     <card id="12003" file="card_12003.xml" marked="false" name="" owner="2721" />
  24.     <card id="4918" file="card_4918.xml" marked="false" name="" owner="2721" />
  25.     <card id="6139" file="card_6139.xml" marked="false" name="" owner="2721" />
  26.     <card id="5857" file="card_5857.xml" marked="false" name="" owner="2721" />
  27.     <card id="5441" file="card_5441.xml" marked="false" name="" owner="2721" />
  28.     <card id="6161" file="card_6161.xml" marked="false" name="" owner="2721" />
  29.     <card id="6500" file="card_6500.xml" marked="false" name="" owner="2721" />
  30.     <card id="6760" file="card_6760.xml" marked="false" name="" owner="2721" />
  31.     <card id="7092" file="card_7092.xml" marked="false" name="" owner="2721" />
  32.     <card id="7181" file="card_7181.xml" marked="false" name="" owner="2721" />
  33.     <card id="7514" file="card_7514.xml" marked="false" name="" owner="2721" />
  34.     <card id="7823" file="card_7823.xml" marked="false" name="" owner="2721" />
  35.     <card id="8170" file="card_8170.xml" marked="false" name="" owner="2721" />
  36.     <card id="9342" file="card_9342.xml" marked="false" name="" owner="2721" />
  37.     <card id="9690" file="card_9690.xml" marked="false" name="" owner="2721" />
  38.     <card id="9878" file="card_9878.xml" marked="false" name="" owner="2721" />
  39.     <card id="10212" file="card_10212.xml" marked="false" name="" owner="2721" />
  40.     <card id="10364" file="card_10364.xml" marked="false" name="" owner="2721" />
  41.     <card id="9174" file="card_9174.xml" marked="false" name="" owner="2721" />
  42.     <card id="3057" file="card_3057.xml" marked="false" name="Help" owner="2721" />
  43.     <card id="3516" file="card_3516.xml" marked="false" name="" owner="2721" />
  44.     <card id="8822" file="card_8822.xml" marked="false" name="" owner="2721" />
  45.     <card id="5320" file="card_5320.xml" marked="false" name="" owner="2721" />
  46.     <card id="3208" file="card_3208.xml" marked="false" name="" owner="2285" />
  47. </stack>
  48.